realtek: mdio-serdes: use correct device table identifier main master
authorJonas Jelonek <[email protected]>
Tue, 16 Dec 2025 12:06:57 +0000 (12:06 +0000)
committerRobert Marko <[email protected]>
Tue, 16 Dec 2025 13:01:59 +0000 (14:01 +0100)
commitd519a3ee86c303989e253538461528c4818dc20e
treed2126089f93aa36f215a1c6b23847f898f1539f6
parent56a71f3c82a5d2f39e7db1c1f76a64d2f04b8d87
realtek: mdio-serdes: use correct device table identifier

Use the correct identifier 'rtsds_of_match' instead of
'rtsds_mdio_of_match' because the latter doesn't exist.

This doesn't cause an error for 6.12. However, with 6.18 the
implementation of MODULE_DEVICE_TABLE has changed to use 'static' and
'used' [1] instead of 'extern' and 'unused' [2].

[1] https://github.com/torvalds/linux/blob/7d0a66e4bb9081d75c82ec4957c50034cb0ea449/include/linux/module.h#L260
[2] https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/module.h#L249

Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21182
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c